home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
BYacc-CW 1.9
/
README (Mac)
< prev
next >
Wrap
Text File
|
1995-10-14
|
3KB
|
68 lines
This is a yet another port of Berkeley Yacc 1.9 to the Macintosh.
Basically I took the sources from one of the many places on the net
that had it, reworked the mainline slightly, fiddled a bit with the
generated code so that it would work with Metrowerks CodeWarrior 6
and bolted on a GUI with my tool "GIJO".
To use it, just drag-and-drop your .y file onto the Yacc icon. If you
forget this and just open the application, it will use StandardGetFile
to prompt for a text file. Once a file is provided, the GUI is pretty
self explanatory to anyone who has used Yacc on unix.
About the only thing that isn't obvious is that if you hold down option
when you click the "Yacc" button, it will save the current settings in
the document that you dropped on the application; this allows you to
set up your custom settings once for each document then just drag/drop/
hit return for all further Yacc sessions.
I have included the complete source because I had to add prototypes to
every function and I rearranged some of the sources slightly to minimize
prototype requirement; well I didn't *have* to but I decided that I would
for my own peace of mind.
robert.corbett@eng.Sun.COM is the original author of Yacc but has
nothing to do with this Mac port. Direct all questions via email to
Jeff Laing <jeffl@suburbia.apana.org.au>.
Disclaimer:
I got it working enough for me to use it. I use it on a reasonably
regular basis but only on fairly simple parsers. I don't promise
anything other than that. Certainly its good enough to parse the
"Yacc.g" file - take a look.
Whilst this software is provided completely for free as intended by
its author (see the file README), if you think I deserve a pat on
the back for doing it, send ten of your countries major currency
(Dollars, Pounds, etc; not Pennies, Cents) (cash is fine, just wrap
it in carbon) to
Tristero Computer Systems
P.O. Box 120
Northcote
Vic 3070
Australia.
But if you don't think so, just ask yourself why *you* haven't done it
and why I bothered to. No obligation.
The GIJO software will be released a little more formally as soon as
I get the documentation to a state that I am not embarassed by. You
should be able to work out how to make minor changes just by looking
at the "Yacc.g" file. GIJO can be considered freeware with just
one restriction: GIJO may *not* be used to provide a user interface
for "gnu-bison" until FSF relax their restrictions on bison's use in
non-GPL projects; in effect, I object to their restriction and am
voicing my opinion in the same way they have. Till they do, just
use YACC.
As previously stated, I ported this software so I could use it. It
seems to work for me. I make no claims as to the usability of the
software (like all good disclaimers); if it doesn't work as advertised
or causes you to lose money, time, children, etc, well don't send me
the money. Having said that, if you have problems, email me at
<jeffl@suburbia.apana.org.au> and we can try to work it out.
Jeff Laing
Tristero Computer Systems